package cn.aicnn.chatssespringboot.vo;

import cn.aicnn.chatssespringboot.dto.AIAnswerDTO;
import lombok.Data;
import org.springframework.http.codec.ServerSentEvent;
import reactor.core.publisher.Flux;

@Data
public class streamQuestionResponseVO {
    int chatid;
    String chatname;
    Flux<ServerSentEvent<AIAnswerDTO>> eventFlux;
    public streamQuestionResponseVO(int chatid,String chatname,Flux<ServerSentEvent<AIAnswerDTO>> eventFlux){
        this.chatid = chatid;
        this.chatname = chatname;
        this.eventFlux = eventFlux;
    }
}
